package com.etc.zzsys.service.impl;

import java.util.List;

import com.etc.zzsys.dao.QuestionDao;
import com.etc.zzsys.dao.impl.QuestionDaoImpl;
import com.etc.zzsys.entiy.Question;
import com.etc.zzsys.service.QuestionService;

/**
 * QuestionService的实现类
 * 
 * @author knowno
 *
 */
public class QuestionServiceImpl implements QuestionService {

	/**
	 * 调用QuestionDao的方法
	 */
	private QuestionDao qd = new QuestionDaoImpl();

	@Override
	public List<Question> getQuestions() {
		// TODO Auto-generated method stub
		return qd.queryQuestions();
	}

}
